import Vue from 'vue'
import Router from 'vue-router'
import About_tmp from '@/components/about-tmp'
import Contact_tmp from '@/components/contact-tmp'

Vue.use(Router)

export default new Router({
  routes: [
    {path: '/', redirect: '/about'},
    {path: '/about', name: 'About_tmp', component: About_tmp,
      children: [
        {path: 'detail', component: Vue.component('detail')},
        {path: 'governance', component: Vue.component('governance')}
      ]
    },
    {path: '/contact', name: 'Contact-tmp', component: Contact_tmp}
  ]
})
